setOnSearchClickListener
Sets a listener to inform when the search button is pressed. This is only relevant when the text field is not visible by default. Calling setIconified(false) can also cause this listener to be informed.
Parameters
listener
the listener to inform when the search button is clicked or the text field is programmatically de-iconified.